﻿package {

	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	import flash.ui.*;

	
	public class cat extends MovieClip {

		public function cat() {
			// constructor code
			button1.addEventListener(MouseEvent.MOUSE_OUT,clicking1);
			button1.addEventListener(MouseEvent.MOUSE_MOVE, clicking2);

		}
		
		public function clicking1(event:MouseEvent) {
			stop();
		}
		public function clicking2(event:MouseEvent) {
			gotoAndPlay(2);
		}

		
	}
}